package com.mankiw.code_generator.entity;

import jakarta.persistence.Entity;
import jakarta.persistence.Table;

@Table(name = "t_application")
@Entity
public class Application extends EntityBase{

    private String applicationName;
    private Long ownerId;

    public Application() {

    }

    public Application(Long ownerId, String applicationName) {
        this.ownerId = ownerId;
        this.applicationName = applicationName;
    }

    public String getApplicationName() {
        return applicationName;
    }

    public void setApplicationName(String applicationName) {
        this.applicationName = applicationName;
    }

    public Long getOwnerId() {
        return ownerId;
    }

    public void setOwnerId(Long ownerId) {
        this.ownerId = ownerId;
    }
    
}
